package com.aaa.ssm.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class MySchedule {

    @Scheduled(cron="0 46 15 * * ? ")
    public void haha(){
        System.out.println("你好 该吃饭了");
    }

}